fix price 元 and 分

FFIB 5 years ago
parent
commit
5831dc89a5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      api/admin_views.py

+ 2 - 2
api/admin_views.py

@@ -200,8 +200,8 @@ def live_goods_create(request):
200 200
         name=goods_name,
201 201
         coverImgUrl=media_id,
202 202
         price_type=price_type,
203
-        price=price,
204
-        price2=price2,
203
+        price=price * 100,
204
+        price2=price2 * 100,
205 205
         goods_img=goods_img
206 206
     )
207 207